package com.lzx.answer.service;

import com.lzx.answer.entity.GiveALike;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lzx.common.utils.R;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lzx
 * @since 2022-10-05
 */
public interface GiveALikeService extends IService<GiveALike> {

    //点赞问题
    R like(GiveALike giveALike);

    //从关联表获取当前用户点赞的数据
    R getUserGiveALikeListById(Integer userId);
}
